﻿using CardGameCore.Driver;
using Zenject;

namespace CardGame.InGame
{
    public class Bootstrap : IInitializable
    {
        [Inject] private IGameCoreStart _gameCoreStart = null;
        [Inject] private ILevelPrepare _levelPrepare = null;
        
        public async void Initialize()
        {
            await _levelPrepare.Prepare();
            
            _gameCoreStart.Start();
        }
    }
}